package com.heima.service;

/**
 * @ClassName ApUserSearchService
 * @Description TODO
 * @Author @O_o
 * @Date 2023/8/30 11:28
 * @Version 1.0
 */

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dto.HistorySearchDTO;
import com.heima.model.search.dto.UserSearchDTO;
public interface ApUserSearchService {

    /**
     * 保存用户搜索历史记录
     * @param userSearchDto
     */
    public void insert( UserSearchDTO userSearchDto);


    /**
     查询搜索历史
     @param userSearchDto
     @return
     */
    ResponseResult findUserSearch(UserSearchDTO userSearchDto);

    /**
     删除搜索历史
     @param historySearchDto
     @return
     */
    ResponseResult delUserSearch(HistorySearchDTO historySearchDto);
}
